class PowLoginEntity {
	String msg;
	int code;
	PowLoginData data;

	PowLoginEntity({this.msg, this.code, this.data});

	PowLoginEntity.fromJson(Map<String, dynamic> json) {
		msg = json['msg'];
		code = json['code'];
		data = json['data'] != null ? new PowLoginData.fromJson(json['data']) : null;
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['msg'] = this.msg;
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		return data;
	}
}

class PowLoginData {
	int type;
	String token;

	PowLoginData({this.type, this.token});

	PowLoginData.fromJson(Map<String, dynamic> json) {
		type = json['type'];
		token = json['token'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['type'] = this.type;
		data['token'] = this.token;
		return data;
	}
}
